home *** CD-ROM | disk | FTP | other *** search
- {$ifndef GRAPHICS_CLIP_H}
- Const GRAPHICS_CLIP_H = 0;
- {$ifndef GRAPHICS_GFX_H;incl"graphics/gfx.h";endif}
- {$ifndef EXEC_SEMAPHORES_H;incl"exec/semaphores.h";endif}
- Const NEWLOCKS = '?';
- CR_NEEDS_NO_CONCEALED_RASTERS = 1;
- ISLESSX = 1;
- ISLESSY = 2;
- ISGRTRX = 4;
- ISGRTRY = 8;
- Type p_Layer = ^Layer;
- p_ClipRect = ^ClipRect;
- Layer = record
- front, back: p_Layer;
- ClipRect: p_ClipRect;
- rp: Ptr;
- bounds: Rectangle;
- reserved: string[4];
- priority, Flags: Word;
- SuperBitMap: p_BitMap;
- SuperClipRect: p_ClipRect;
- Window: Ptr;
- Scroll_X, Scroll_Y: integer;
- cr, cr2, crnew: p_ClipRect;
- SuperSaveClipRects: p_ClipRect;
- _cliprects: p_ClipRect;
- Layer_Info: Ptr;
- Lock: SignalSemaphore;
- reserved3: string[8];
- ClipRegion: Ptr;
- saveClipRects: Ptr;
- reserved2: string[22];
- DamageList: Ptr
- end;
- ClipRect = record
- Next, prev: p_ClipRect;
- lobs: p_Layer;
- BitMap: p_BitMap;
- bounds: RectAngle;
- _p1, _p2: p_ClipRect;
- reserved: Long;
- {$if def NEWCLIPRECTS_1_1}
- Flags: Long;
- {$endif}
- end;
- {$endif}
-